@import 'common_component.less';
@import 'UI/htmlEditor.less';

@header-height: 5%;
@mainColor: #EBEBEB;
@hightColor: #417BB5;

body.admin-shell {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	a {
		text-decoration: none;
		color: #939da8;
	}

	.memberNav {
		display: none;
	}

	header {
		width: 100%;
		height: @header-height;
		border-top: 1px solid white;
		border-bottom: 1px solid gray;
		.gradient(top, #78B1ED , @hightColor);
		display: table;
		h1 , menu {
			display: table-cell;
			vertical-align: middle;
			color: white;
		}
	
		h1 {
			text-shadow: 0px 1px 0px black;
			font-weight: normal;
			font-size: 1.1rem;
			text-indent: 2em;
			letter-spacing: 3px;
		}
	
		menu {
			margin: 0;
			font-size: .9rem;
			padding-right: 2%;
			text-align: right;
			a {
				color: white;
			}
		}
	}
}


@sidebarWidth: 15%;
.side {
	.widthFx;
	width: @sidebarWidth;
	height: 100-@header-height;
	float: left;
	position: relative;
	.gradient(left, #FAFAFA , @mainColor);
	.rightTop_title {
		overflow: hidden;
		width: 80%;
		height: 30px;
		line-height: 30px;
		background-color: #FAFAFA;
		float: right;
	}

	.rightTop {
		overflow: hidden;
		clear: right;
		width: 100%;
		height: 30px;
		background: url("") no-repeat right top;
	}

	.closeBtn {
		position: absolute;
		right: 0;
		top: 0;
		width: 5px;
		height: 100%;
		background: #ECECEC url("") no-repeat scroll 2px 50%;
		border-left: 1px solid #D1D1D1;
		border-right: 1px solid #D1D1D1;
		cursor: pointer;
	}

	.leftSidebar {
		.acMenu ();
		overflow: hidden;
		& > li {
			border-top: 1px solid white;
			border-bottom: 1px solid lightgray;
			&.pressed {
				border-top: 0;
				border-bottom: 1px solid lightgray;
				h3 {
					.gradient(right, transparent , darken(@mainColor, 10));
				}
			}

			ul {
				li {
					list-style-type: disc;
					padding-left: 10%;
					a {
						width: 100%;
						display: block;
					}

					&.selected {
						background-color: lighten(@hightColor, 33);
						a {
							color: black;
						}
					}
				}
			}

			h3 , li {
				padding: 5px 0 5px 15px;
				letter-spacing: 2px;
				line-height: 20px;
				color: #939da8;
				font-size: 12px;
				&:hover , a:hover {
					color: black;
				}
			}
		}
	}
}

.iframe {
	.widthFx;
	width: 100-@sidebarWidth;
	height: 100-@header-height;
	margin-right: -999px;
	overflow: hidden;
	iframe {
		width: 100%;
		border: 0;
		height: 100%;
	}
}

